import React from 'react';
import { Route, Routes, HashRouter } from 'react-router-dom';
// import login from '../views/login/login';
// ('react-router-dom');
// import { ReactDOM } from 'react-dom/client';
import Login from '../views/login/login';
import Background from '../views/background/background';
// import background from './../views/background/background';
import App from '../App';
// 这个报错不影响，是由于二次修改文件名导致的
// import Tiaozhuan from '../views/tiaozhuan/Tiaozhuan';
import UniversityHall from '../views/university Hall/UniversityHall';
import PhotoAlbum from '../views/photoAlbum/PhotoAlbum';
export default function IndexRounter () {
  return (
    <HashRouter>
      <Routes>
        <Route path="/login" element={<Login></Login>}></Route>
        <Route path="/background" element={<Background></Background>}></Route>
        <Route path="/app" element={<App></App>}></Route>
        {/* <Route path="/tiaozhuan" element={<Tiaozhuan></Tiaozhuan>}></Route> */}
        <Route path="/daxuetang" element={<UniversityHall></UniversityHall>}></Route>
        <Route path="/xiangce" element={<PhotoAlbum></PhotoAlbum>}></Route>
      </Routes>
    </HashRouter>
  );
}
